using System;
using System.Collections.Generic;

namespace ApiProject.Api.Entity
{
    //用户信息表
    public class UserInfo : BaseEntity
    {
        public UserInfo()
        {
            NickName = "匿名";
        }
        //昵称
        public string NickName { get; set; }

        //性别
        public string Sex { get; set; }

        //出生日期
        public DateTime Birthday { get; set; }

        //电话
        public string Telephone { get; set; }
        //邮箱
        public string Dzyx { get; set; }

        //地址
        public string Address { get; set; }

        //自我介绍
        public string SelfIntroduction { get; set; }

        //用户Id
        public int UserId { get; set; }
        public virtual Users User { get; set; }
        // public virtual IEnumerable<Users> User { get; set; }

    }
}
